[INFO] cloning repository https://github.com/chorman0773/mdbook-fiction-tools
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/chorman0773/mdbook-fiction-tools" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchorman0773%2Fmdbook-fiction-tools", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchorman0773%2Fmdbook-fiction-tools'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 3d6b355a14a929b2b38b068f49334a3267c91eb7
[INFO] testing chorman0773/mdbook-fiction-tools against master#cced03bfd61a304243a34504618ecec86c17063f for pr-154065-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchorman0773%2Fmdbook-fiction-tools" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/chorman0773/mdbook-fiction-tools
[INFO] finished tweaking git repo https://github.com/chorman0773/mdbook-fiction-tools
[INFO] tweaked toml for git repo https://github.com/chorman0773/mdbook-fiction-tools written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/chorman0773/mdbook-fiction-tools on toolchain cced03bfd61a304243a34504618ecec86c17063f
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cced03bfd61a304243a34504618ecec86c17063f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/chorman0773/mdbook-fiction-tools already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cced03bfd61a304243a34504618ecec86c17063f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded time-macros v0.2.19
[INFO] [stderr]   Downloaded time v0.3.37
[INFO] [stderr]   Downloaded cpufeatures v0.2.16
[INFO] [stderr]   Downloaded mdbook-preprocessor v0.5.2
[INFO] [stderr]   Downloaded unicode-bidi-mirroring v0.3.0
[INFO] [stderr]   Downloaded unicode-ccc v0.3.0
[INFO] [stderr]   Downloaded with_builtin_macros-proc_macros v0.0.3
[INFO] [stderr]   Downloaded mdbook-renderer v0.5.2
[INFO] [stderr]   Downloaded pulldown-cmark-escape v0.11.0
[INFO] [stderr]   Downloaded miniz_oxide v0.8.2
[INFO] [stderr]   Downloaded xmp-writer v0.2.0
[INFO] [stderr]   Downloaded simplecss v0.2.2
[INFO] [stderr]   Downloaded imagesize v0.13.0
[INFO] [stderr]   Downloaded with_builtin_macros v0.0.3
[INFO] [stderr]   Downloaded semver v1.0.24
[INFO] [stderr]   Downloaded bytemuck_derive v1.8.1
[INFO] [stderr]   Downloaded mdbook-core v0.5.2
[INFO] [stderr]   Downloaded svgtypes v0.15.2
[INFO] [stderr]   Downloaded tinyvec v1.8.1
[INFO] [stderr]   Downloaded subsetter v0.2.0
[INFO] [stderr]   Downloaded zune-png v0.4.10
[INFO] [stderr]   Downloaded cc v1.2.5
[INFO] [stderr]   Downloaded zune-jpeg v0.4.14
[INFO] [stderr]   Downloaded bytemuck v1.21.0
[INFO] [stderr]   Downloaded image-webp v0.1.3
[INFO] [stderr]   Downloaded pulldown-cmark-to-cmark v20.0.0
[INFO] [stderr]   Downloaded resvg v0.44.0
[INFO] [stderr]   Downloaded fontdb v0.22.0
[INFO] [stderr]   Downloaded krilla v0.3.0
[INFO] [stderr]   Downloaded kurbo v0.11.1
[INFO] [stderr]   Downloaded pulldown-cmark v0.12.2
[INFO] [stderr]   Downloaded usvg v0.44.0
[INFO] [stderr]   Downloaded winnow v1.0.2
[INFO] [stderr]   Downloaded ttf-parser v0.24.1
[INFO] [stderr]   Downloaded rustybuzz v0.18.0
[INFO] [stderr]   Downloaded pulldown-latex v0.7.1
[INFO] [stderr]   Downloaded pdf-writer v0.12.0
[INFO] [stderr]   Downloaded ring v0.17.8
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+cced03bfd61a304243a34504618ecec86c17063f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 64d647088d2615bb0138fa4d19a44a4824bb2c880fc8e130118b94fec3c25268
[INFO] running `Command { std: "docker" "start" "-a" "64d647088d2615bb0138fa4d19a44a4824bb2c880fc8e130118b94fec3c25268", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "64d647088d2615bb0138fa4d19a44a4824bb2c880fc8e130118b94fec3c25268", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "64d647088d2615bb0138fa4d19a44a4824bb2c880fc8e130118b94fec3c25268", kill_on_drop: false }`
[INFO] [stdout] 64d647088d2615bb0138fa4d19a44a4824bb2c880fc8e130118b94fec3c25268
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+cced03bfd61a304243a34504618ecec86c17063f" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e4694c4867078d33d95c66e7695f0f228b6c2799b90906041a531b61ff30dfa1
[INFO] running `Command { std: "docker" "start" "-a" "e4694c4867078d33d95c66e7695f0f228b6c2799b90906041a531b61ff30dfa1", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.92
[INFO] [stderr]    Compiling unicode-ident v1.0.14
[INFO] [stderr]    Compiling memchr v2.8.0
[INFO] [stderr]    Compiling zmij v1.0.21
[INFO] [stderr]    Compiling regex-syntax v0.8.10
[INFO] [stderr]    Compiling winnow v1.0.2
[INFO] [stderr]    Compiling serde_json v1.0.149
[INFO] [stderr]    Compiling itoa v1.0.14
[INFO] [stderr]    Compiling anyhow v1.0.102
[INFO] [stderr]    Compiling once_cell v1.20.2
[INFO] [stderr]    Compiling pin-project-lite v0.2.17
[INFO] [stderr]    Compiling winnow v0.7.15
[INFO] [stderr]    Compiling toml_writer v1.1.1+spec-1.1.0
[INFO] [stderr]    Compiling libc v0.2.186
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling serde_spanned v1.1.1
[INFO] [stderr]    Compiling toml_datetime v0.7.5+spec-1.1.0
[INFO] [stderr]    Compiling equivalent v1.0.1
[INFO] [stderr]    Compiling pulldown-cmark v0.12.2
[INFO] [stderr]    Compiling unicode-width v0.1.14
[INFO] [stderr]    Compiling tracing-core v0.1.36
[INFO] [stderr]    Compiling indexmap v2.14.0
[INFO] [stderr]    Compiling unicase v2.8.1
[INFO] [stderr]    Compiling semver v1.0.24
[INFO] [stderr]    Compiling pulldown-cmark-escape v0.11.0
[INFO] [stderr]    Compiling bitflags v2.6.0
[INFO] [stderr]    Compiling toml_parser v1.1.2+spec-1.1.0
[INFO] [stderr]    Compiling winnow v0.6.20
[INFO] [stderr]    Compiling deranged v0.3.11
[INFO] [stderr]    Compiling getopts v0.2.21
[INFO] [stderr]    Compiling num-conv v0.1.0
[INFO] [stderr]    Compiling time-core v0.1.2
[INFO] [stderr]    Compiling aho-corasick v1.1.4
[INFO] [stderr]    Compiling xml-rs v0.8.24
[INFO] [stderr]    Compiling quote v1.0.37
[INFO] [stderr]    Compiling syn v2.0.117
[INFO] [stderr]    Compiling time v0.3.37
[INFO] [stderr]    Compiling getrandom v0.2.15
[INFO] [stderr]    Compiling toml v0.9.12+spec-1.1.0
[INFO] [stderr]    Compiling regex-automata v0.4.14
[INFO] [stderr]    Compiling pulldown-cmark-to-cmark v20.0.0
[INFO] [stderr]    Compiling with_builtin_macros-proc_macros v0.0.3
[INFO] [stderr]    Compiling with_builtin_macros v0.0.3
[INFO] [stderr]    Compiling regex v1.12.3
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling tracing-attributes v0.1.31
[INFO] [stderr]    Compiling tracing v0.1.44
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling toml_datetime v0.6.8
[INFO] [stderr]    Compiling serde_spanned v0.6.8
[INFO] [stderr]    Compiling mdbook-core v0.5.2
[INFO] [stderr]    Compiling uuid v1.11.0
[INFO] [stderr]    Compiling toml_edit v0.22.22
[INFO] [stderr]    Compiling mdbook-renderer v0.5.2
[INFO] [stderr]    Compiling mdbook-preprocessor v0.5.2
[INFO] [stderr]    Compiling toml v0.8.19
[INFO] [stderr]    Compiling mdbook-fiction-tools v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unexpected `cfg` condition value: `math`
[INFO] [stdout]    --> src/config.rs:210:11
[INFO] [stdout]     |
[INFO] [stdout] 210 |     #[cfg(feature = "math")]
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected values for `feature` are: `default`, `epub`, `epub-signatures`, `pdf`, `preprocessor`, `pulldown-latex`, and `renderer`
[INFO] [stdout]     = help: consider adding `math` as a feature in `Cargo.toml`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]     = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `uuid::Uuid`
[INFO] [stdout]  --> src/config.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use uuid::Uuid;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Cursor`, `borrow::Cow`, and `self`
[INFO] [stdout]  --> src/xhtml.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 |     borrow::Cow,
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 3 |     io::{self, Cursor},
[INFO] [stdout]   |          ^^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Name` and `OwnedName`
[INFO] [stdout]  --> src/xhtml.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 |     name::{Name, OwnedName},
[INFO] [stdout]   |            ^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Alignment`, `Book`, `CowStr`, `HeadingLevel`, `Link`, and `ListStyle`
[INFO] [stdout]   --> src/xhtml.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 |     Alignment, Book, BookChapter, CowStr, HeadingLevel, InlineXhtml, Link, ListStyle, RichText,
[INFO] [stdout]    |     ^^^^^^^^^  ^^^^               ^^^^^^  ^^^^^^^^^^^^               ^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `math`
[INFO] [stdout]   --> src/bookir.rs:22:7
[INFO] [stdout]    |
[INFO] [stdout] 22 | #[cfg(feature = "math")]
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected values for `feature` are: `default`, `epub`, `epub-signatures`, `pdf`, `preprocessor`, `pulldown-latex`, and `renderer`
[INFO] [stdout]    = help: consider adding `math` as a feature in `Cargo.toml`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `math`
[INFO] [stdout]    --> src/bookir.rs:131:11
[INFO] [stdout]     |
[INFO] [stdout] 131 |     #[cfg(feature = "math")]
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected values for `feature` are: `default`, `epub`, `epub-signatures`, `pdf`, `preprocessor`, `pulldown-latex`, and `renderer`
[INFO] [stdout]     = help: consider adding `math` as a feature in `Cargo.toml`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `math`
[INFO] [stdout]    --> src/bookir.rs:133:11
[INFO] [stdout]     |
[INFO] [stdout] 133 |     #[cfg(feature = "math")]
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected values for `feature` are: `default`, `epub`, `epub-signatures`, `pdf`, `preprocessor`, `pulldown-latex`, and `renderer`
[INFO] [stdout]     = help: consider adding `math` as a feature in `Cargo.toml`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `math`
[INFO] [stdout]    --> src/bookir.rs:503:20
[INFO] [stdout]     |
[INFO] [stdout] 503 |     #[cfg_attr(not(feature = "math"), serde(skip))]
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected values for `feature` are: `default`, `epub`, `epub-signatures`, `pdf`, `preprocessor`, `pulldown-latex`, and `renderer`
[INFO] [stdout]     = help: consider adding `math` as a feature in `Cargo.toml`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Stdin` and `self`
[INFO] [stdout]  --> src/bookir.rs:1:15
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::io::{self, Stdin};
[INFO] [stdout]   |               ^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::process::Stdio`
[INFO] [stdout]  --> src/bookir.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::process::Stdio;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `num::NonZero` and `process::Command`
[INFO] [stdout]  --> src/bookir.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 |     num::NonZero,
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 8 |     process::Command,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `indexmap::IndexMap`
[INFO] [stdout]   --> src/bookir.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use indexmap::IndexMap;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `name::Name`
[INFO] [stdout]   --> src/bookir.rs:12:13
[INFO] [stdout]    |
[INFO] [stdout] 12 | use ::xml::{name::Name, reader::XmlEvent, EventReader};
[INFO] [stdout]    |             ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `BookItems`
[INFO] [stdout]   --> src/bookir.rs:13:26
[INFO] [stdout]    |
[INFO] [stdout] 13 | use mdbook_core::{book::{BookItems, BookItem}, };
[INFO] [stdout]    |                          ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `InlineStr` and `LinkType`
[INFO] [stdout]   --> src/bookir.rs:16:59
[INFO] [stdout]    |
[INFO] [stdout] 16 |     CodeBlockKind, Event, HeadingLevel as MdHeadingLevel, InlineStr, LinkType, Parser, Tag, TagEnd,
[INFO] [stdout]    |                                                           ^^^^^^^^^  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Cow`
[INFO] [stdout]  --> src/bookir/nav.rs:1:27
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::borrow::{Borrow, Cow};
[INFO] [stdout]   |                           ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::path::PathBuf`
[INFO] [stdout]  --> src/bookir/nav.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::path::PathBuf;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::thread::current`
[INFO] [stdout]  --> src/bookir/nav.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::thread::current;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Deserialize`
[INFO] [stdout]  --> src/bookir/nav.rs:6:13
[INFO] [stdout]   |
[INFO] [stdout] 6 | use serde::{Deserialize, Serialize};
[INFO] [stdout]   |             ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `xml::name::Name`
[INFO] [stdout]  --> src/bookir/nav.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use xml::name::Name;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `xml::namespace::Namespace`
[INFO] [stdout]  --> src/bookir/nav.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use xml::namespace::Namespace;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `EventWriter` and `XmlEvent`
[INFO] [stdout]  --> src/bookir/nav.rs:9:19
[INFO] [stdout]   |
[INFO] [stdout] 9 | use xml::writer::{EventWriter, XmlEvent};
[INFO] [stdout]   |                   ^^^^^^^^^^^  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Cow`
[INFO] [stdout]  --> src/bookir/str.rs:2:22
[INFO] [stdout]   |
[INFO] [stdout] 2 |     borrow::{Borrow, Cow},
[INFO] [stdout]   |                      ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `math`
[INFO] [stdout]    --> src/bookir.rs:547:19
[INFO] [stdout]     |
[INFO] [stdout] 547 |             #[cfg(feature = "math")]
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected values for `feature` are: `default`, `epub`, `epub-signatures`, `pdf`, `preprocessor`, `pulldown-latex`, and `renderer`
[INFO] [stdout]     = help: consider adding `math` as a feature in `Cargo.toml`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `math`
[INFO] [stdout]    --> src/bookir.rs:549:19
[INFO] [stdout]     |
[INFO] [stdout] 549 |             #[cfg(feature = "math")]
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected values for `feature` are: `default`, `epub`, `epub-signatures`, `pdf`, `preprocessor`, `pulldown-latex`, and `renderer`
[INFO] [stdout]     = help: consider adding `math` as a feature in `Cargo.toml`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `math`
[INFO] [stdout]    --> src/bookir.rs:551:23
[INFO] [stdout]     |
[INFO] [stdout] 551 |             #[cfg(not(feature = "math"))]
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected values for `feature` are: `default`, `epub`, `epub-signatures`, `pdf`, `preprocessor`, `pulldown-latex`, and `renderer`
[INFO] [stdout]     = help: consider adding `math` as a feature in `Cargo.toml`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `math`
[INFO] [stdout]   --> src/renderer.rs:31:11
[INFO] [stdout]    |
[INFO] [stdout] 31 |     #[cfg(feature = "math")]
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected values for `feature` are: `default`, `epub`, `epub-signatures`, `pdf`, `preprocessor`, `pulldown-latex`, and `renderer`
[INFO] [stdout]    = help: consider adding `math` as a feature in `Cargo.toml`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `text`
[INFO] [stdout]   --> src/preprocess.rs:89:17
[INFO] [stdout]    |
[INFO] [stdout] 89 |             for text in rich_texts {
[INFO] [stdout]    |                 ^^^^ help: if this is intentional, prefix it with an underscore: `_text`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cow_str`
[INFO] [stdout]    --> src/preprocess.rs:121:40
[INFO] [stdout]     |
[INFO] [stdout] 121 |                 bookir::Link::Footnote(cow_str) => panic!("Image Footnotes not allowed"),
[INFO] [stdout]     |                                        ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cow_str`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `group_kind`
[INFO] [stdout]    --> src/preprocess.rs:234:36
[INFO] [stdout]     |
[INFO] [stdout] 234 |     fn visit_group_item(&mut self, group_kind: GroupKind) -> VisitResult<Infallible> {
[INFO] [stdout]     |                                    ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_group_kind`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `group_kind`
[INFO] [stdout]    --> src/preprocess.rs:237:35
[INFO] [stdout]     |
[INFO] [stdout] 237 |     fn visit_end_group(&mut self, group_kind: GroupKind) {}
[INFO] [stdout]     |                                   ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_group_kind`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `node`
[INFO] [stdout]    --> src/preprocess.rs:239:29
[INFO] [stdout]     |
[INFO] [stdout] 239 |     fn visit_end(&mut self, node: &RichText) {}
[INFO] [stdout]     |                             ^^^^ help: if this is intentional, prefix it with an underscore: `_node`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cow_str`
[INFO] [stdout]    --> src/preprocess.rs:316:31
[INFO] [stdout]     |
[INFO] [stdout] 316 |             RichText::RawText(cow_str) => {},
[INFO] [stdout]     |                               ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cow_str`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cow_str`
[INFO] [stdout]    --> src/preprocess.rs:317:31
[INFO] [stdout]     |
[INFO] [stdout] 317 |             RichText::Comment(cow_str) => {},
[INFO] [stdout]     |                               ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cow_str`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cow_str`
[INFO] [stdout]    --> src/preprocess.rs:403:29
[INFO] [stdout]     |
[INFO] [stdout] 403 |             RichText::Macro(cow_str) => {},
[INFO] [stdout]     |                             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cow_str`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `it`
[INFO] [stdout]    --> src/config.rs:108:30
[INFO] [stdout]     |
[INFO] [stdout] 108 |             Self::SingleItem(it) => (1, Some(1)),
[INFO] [stdout]     |                              ^^ help: if this is intentional, prefix it with an underscore: `_it`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `table`
[INFO] [stdout]    --> src/bookir.rs:335:29
[INFO] [stdout]     |
[INFO] [stdout] 335 |             RichText::Table(table) => todo!(),
[INFO] [stdout]     |                             ^^^^^ help: if this is intentional, prefix it with an underscore: `_table`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a`
[INFO] [stdout]    --> src/bookir.rs:366:21
[INFO] [stdout]     |
[INFO] [stdout] 366 |                     a => {
[INFO] [stdout]     |                     ^ help: if this is intentional, prefix it with an underscore: `_a`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cow_str`
[INFO] [stdout]    --> src/bookir.rs:421:36
[INFO] [stdout]     |
[INFO] [stdout] 421 |                     Link::Footnote(cow_str) => NormalizationResult::Link,
[INFO] [stdout]     |                                    ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cow_str`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `name`
[INFO] [stdout]    --> src/bookir.rs:453:29
[INFO] [stdout]     |
[INFO] [stdout] 453 |             RichText::Macro(name) => {
[INFO] [stdout]     |                             ^^^^ help: if this is intentional, prefix it with an underscore: `_name`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cow_str`
[INFO] [stdout]    --> src/bookir.rs:740:37
[INFO] [stdout]     |
[INFO] [stdout] 740 |             Tag::FootnoteDefinition(cow_str) => todo!(),
[INFO] [stdout]     |                                     ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cow_str`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `link_type`
[INFO] [stdout]    --> src/bookir.rs:749:17
[INFO] [stdout]     |
[INFO] [stdout] 749 |                 link_type,
[INFO] [stdout]     |                 ^^^^^^^^^ help: try ignoring the field: `link_type: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `id`
[INFO] [stdout]    --> src/bookir.rs:752:17
[INFO] [stdout]     |
[INFO] [stdout] 752 |                 id,
[INFO] [stdout]     |                 ^^ help: try ignoring the field: `id: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `link_type`
[INFO] [stdout]    --> src/bookir.rs:769:17
[INFO] [stdout]     |
[INFO] [stdout] 769 |                 link_type,
[INFO] [stdout]     |                 ^^^^^^^^^ help: try ignoring the field: `link_type: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `id`
[INFO] [stdout]    --> src/bookir.rs:772:17
[INFO] [stdout]     |
[INFO] [stdout] 772 |                 id,
[INFO] [stdout]     |                 ^^ help: try ignoring the field: `id: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `metadata_block_kind`
[INFO] [stdout]    --> src/bookir.rs:788:32
[INFO] [stdout]     |
[INFO] [stdout] 788 |             Tag::MetadataBlock(metadata_block_kind) => unimplemented!("Metadata should not parse"),
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_metadata_block_kind`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/renderer.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 20 |     mut options: bookir::RichTextOptions,
[INFO] [stdout]    |     ----^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/renderer.rs:47:9
[INFO] [stdout]    |
[INFO] [stdout] 47 |     let mut extra_files = helpers::read_dir_recursive(&src)?
[INFO] [stdout]    |         ----^^^^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `r`
[INFO] [stdout]    --> src/renderer.rs:109:60
[INFO] [stdout]     |
[INFO] [stdout] 109 | ...                   .map_or(&**title, |(l, r)| l)
[INFO] [stdout]     |                                              ^ help: if this is intentional, prefix it with an underscore: `_r`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `it`
[INFO] [stdout]   --> src/renderer.rs:98:25
[INFO] [stdout]    |
[INFO] [stdout] 98 |                         it @ BookItem::PartTitle(title) => {
[INFO] [stdout]    |                         ^^ help: if this is intentional, prefix it with an underscore: `_it`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/config.rs:25:17
[INFO] [stdout]    |
[INFO] [stdout] 25 |     pub fn iter(&self) -> Iter<T> {
[INFO] [stdout]    |                 ^^^^^     ^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 25 |     pub fn iter(&self) -> Iter<'_, T> {
[INFO] [stdout]    |                                +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/config.rs:36:21
[INFO] [stdout]    |
[INFO] [stdout] 36 |     pub fn iter_mut(&mut self) -> IterMut<T> {
[INFO] [stdout]    |                     ^^^^^^^^^     ^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 36 |     pub fn iter_mut(&mut self) -> IterMut<'_, T> {
[INFO] [stdout]    |                                           +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Output` and `helpers`
[INFO] [stdout]  --> src/bin/mdbook-bookir.rs:3:83
[INFO] [stdout]   |
[INFO] [stdout] 3 |     bookir::RichTextOptions, config::BasicConfig, renderer::gen_collected_output, helpers, Output,
[INFO] [stdout]   |                                                                                   ^^^^^^^  ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde_json::Error`
[INFO] [stdout]  --> src/bin/mdbook-bookir.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use serde_json::Error;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `uuid::Uuid`
[INFO] [stdout]  --> src/bin/mdbook-bookir.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use uuid::Uuid;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::Write`
[INFO] [stdout]   --> src/bin/mdbook-bookir.rs:22:17
[INFO] [stdout]    |
[INFO] [stdout] 22 |             use std::io::Write;
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `src`
[INFO] [stdout]   --> src/bin/mdbook-bookir.rs:21:16
[INFO] [stdout]    |
[INFO] [stdout] 21 |         |path, src, book, config, output| {
[INFO] [stdout]    |                ^^^ help: if this is intentional, prefix it with an underscore: `_src`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `config`
[INFO] [stdout]   --> src/bin/mdbook-bookir.rs:21:27
[INFO] [stdout]    |
[INFO] [stdout] 21 |         |path, src, book, config, output| {
[INFO] [stdout]    |                           ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `output`
[INFO] [stdout]   --> src/bin/mdbook-bookir.rs:21:35
[INFO] [stdout]    |
[INFO] [stdout] 21 |         |path, src, book, config, output| {
[INFO] [stdout]    |                                   ^^^^^^ help: if this is intentional, prefix it with an underscore: `_output`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.98s
[INFO] running `Command { std: "docker" "inspect" "e4694c4867078d33d95c66e7695f0f228b6c2799b90906041a531b61ff30dfa1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e4694c4867078d33d95c66e7695f0f228b6c2799b90906041a531b61ff30dfa1", kill_on_drop: false }`
[INFO] [stdout] e4694c4867078d33d95c66e7695f0f228b6c2799b90906041a531b61ff30dfa1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+cced03bfd61a304243a34504618ecec86c17063f" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 1097ee629fe959926b0da723c94a267c25dd3469d5bdc2eee6e718f4e55a6a70
[INFO] running `Command { std: "docker" "start" "-a" "1097ee629fe959926b0da723c94a267c25dd3469d5bdc2eee6e718f4e55a6a70", kill_on_drop: false }`
[INFO] [stderr]    Compiling paste v1.0.15
[INFO] [stdout] warning: unexpected `cfg` condition value: `math`
[INFO] [stdout]    --> src/config.rs:210:11
[INFO] [stdout]     |
[INFO] [stdout] 210 |     #[cfg(feature = "math")]
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected values for `feature` are: `default`, `epub`, `epub-signatures`, `pdf`, `preprocessor`, `pulldown-latex`, and `renderer`
[INFO] [stdout]     = help: consider adding `math` as a feature in `Cargo.toml`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]     = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `uuid::Uuid`
[INFO] [stdout]  --> src/config.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use uuid::Uuid;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Cursor`, `borrow::Cow`, and `self`
[INFO] [stdout]  --> src/xhtml.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 |     borrow::Cow,
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 3 |     io::{self, Cursor},
[INFO] [stdout]   |          ^^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Name` and `OwnedName`
[INFO] [stdout]  --> src/xhtml.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 |     name::{Name, OwnedName},
[INFO] [stdout]   |            ^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Alignment`, `Book`, `CowStr`, `HeadingLevel`, `Link`, and `ListStyle`
[INFO] [stdout]   --> src/xhtml.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 |     Alignment, Book, BookChapter, CowStr, HeadingLevel, InlineXhtml, Link, ListStyle, RichText,
[INFO] [stdout]    |     ^^^^^^^^^  ^^^^               ^^^^^^  ^^^^^^^^^^^^               ^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `math`
[INFO] [stdout]   --> src/bookir.rs:22:7
[INFO] [stdout]    |
[INFO] [stdout] 22 | #[cfg(feature = "math")]
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected values for `feature` are: `default`, `epub`, `epub-signatures`, `pdf`, `preprocessor`, `pulldown-latex`, and `renderer`
[INFO] [stdout]    = help: consider adding `math` as a feature in `Cargo.toml`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `math`
[INFO] [stdout]    --> src/bookir.rs:131:11
[INFO] [stdout]     |
[INFO] [stdout] 131 |     #[cfg(feature = "math")]
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected values for `feature` are: `default`, `epub`, `epub-signatures`, `pdf`, `preprocessor`, `pulldown-latex`, and `renderer`
[INFO] [stdout]     = help: consider adding `math` as a feature in `Cargo.toml`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `math`
[INFO] [stdout]    --> src/bookir.rs:133:11
[INFO] [stdout]     |
[INFO] [stdout] 133 |     #[cfg(feature = "math")]
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected values for `feature` are: `default`, `epub`, `epub-signatures`, `pdf`, `preprocessor`, `pulldown-latex`, and `renderer`
[INFO] [stdout]     = help: consider adding `math` as a feature in `Cargo.toml`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `math`
[INFO] [stdout]    --> src/bookir.rs:503:20
[INFO] [stdout]     |
[INFO] [stdout] 503 |     #[cfg_attr(not(feature = "math"), serde(skip))]
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected values for `feature` are: `default`, `epub`, `epub-signatures`, `pdf`, `preprocessor`, `pulldown-latex`, and `renderer`
[INFO] [stdout]     = help: consider adding `math` as a feature in `Cargo.toml`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Stdin` and `self`
[INFO] [stdout]  --> src/bookir.rs:1:15
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::io::{self, Stdin};
[INFO] [stdout]   |               ^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::process::Stdio`
[INFO] [stdout]  --> src/bookir.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::process::Stdio;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `num::NonZero` and `process::Command`
[INFO] [stdout]  --> src/bookir.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 |     num::NonZero,
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 8 |     process::Command,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `indexmap::IndexMap`
[INFO] [stdout]   --> src/bookir.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use indexmap::IndexMap;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `name::Name`
[INFO] [stdout]   --> src/bookir.rs:12:13
[INFO] [stdout]    |
[INFO] [stdout] 12 | use ::xml::{name::Name, reader::XmlEvent, EventReader};
[INFO] [stdout]    |             ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `BookItems`
[INFO] [stdout]   --> src/bookir.rs:13:26
[INFO] [stdout]    |
[INFO] [stdout] 13 | use mdbook_core::{book::{BookItems, BookItem}, };
[INFO] [stdout]    |                          ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `InlineStr` and `LinkType`
[INFO] [stdout]   --> src/bookir.rs:16:59
[INFO] [stdout]    |
[INFO] [stdout] 16 |     CodeBlockKind, Event, HeadingLevel as MdHeadingLevel, InlineStr, LinkType, Parser, Tag, TagEnd,
[INFO] [stdout]    |                                                           ^^^^^^^^^  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Cow`
[INFO] [stdout]  --> src/bookir/nav.rs:1:27
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::borrow::{Borrow, Cow};
[INFO] [stdout]   |                           ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::path::PathBuf`
[INFO] [stdout]  --> src/bookir/nav.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::path::PathBuf;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::thread::current`
[INFO] [stdout]  --> src/bookir/nav.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::thread::current;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Deserialize`
[INFO] [stdout]  --> src/bookir/nav.rs:6:13
[INFO] [stdout]   |
[INFO] [stdout] 6 | use serde::{Deserialize, Serialize};
[INFO] [stdout]   |             ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `xml::name::Name`
[INFO] [stdout]  --> src/bookir/nav.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use xml::name::Name;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `xml::namespace::Namespace`
[INFO] [stdout]  --> src/bookir/nav.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use xml::namespace::Namespace;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `EventWriter` and `XmlEvent`
[INFO] [stdout]  --> src/bookir/nav.rs:9:19
[INFO] [stdout]   |
[INFO] [stdout] 9 | use xml::writer::{EventWriter, XmlEvent};
[INFO] [stdout]   |                   ^^^^^^^^^^^  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Cow`
[INFO] [stdout]  --> src/bookir/str.rs:2:22
[INFO] [stdout]   |
[INFO] [stdout] 2 |     borrow::{Borrow, Cow},
[INFO] [stdout]   |                      ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `math`
[INFO] [stdout]    --> src/bookir.rs:547:19
[INFO] [stdout]     |
[INFO] [stdout] 547 |             #[cfg(feature = "math")]
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected values for `feature` are: `default`, `epub`, `epub-signatures`, `pdf`, `preprocessor`, `pulldown-latex`, and `renderer`
[INFO] [stdout]     = help: consider adding `math` as a feature in `Cargo.toml`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `math`
[INFO] [stdout]    --> src/bookir.rs:549:19
[INFO] [stdout]     |
[INFO] [stdout] 549 |             #[cfg(feature = "math")]
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected values for `feature` are: `default`, `epub`, `epub-signatures`, `pdf`, `preprocessor`, `pulldown-latex`, and `renderer`
[INFO] [stdout]     = help: consider adding `math` as a feature in `Cargo.toml`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `math`
[INFO] [stdout]    --> src/bookir.rs:551:23
[INFO] [stdout]     |
[INFO] [stdout] 551 |             #[cfg(not(feature = "math"))]
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected values for `feature` are: `default`, `epub`, `epub-signatures`, `pdf`, `preprocessor`, `pulldown-latex`, and `renderer`
[INFO] [stdout]     = help: consider adding `math` as a feature in `Cargo.toml`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `math`
[INFO] [stdout]   --> src/renderer.rs:31:11
[INFO] [stdout]    |
[INFO] [stdout] 31 |     #[cfg(feature = "math")]
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected values for `feature` are: `default`, `epub`, `epub-signatures`, `pdf`, `preprocessor`, `pulldown-latex`, and `renderer`
[INFO] [stdout]    = help: consider adding `math` as a feature in `Cargo.toml`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `text`
[INFO] [stdout]   --> src/preprocess.rs:89:17
[INFO] [stdout]    |
[INFO] [stdout] 89 |             for text in rich_texts {
[INFO] [stdout]    |                 ^^^^ help: if this is intentional, prefix it with an underscore: `_text`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cow_str`
[INFO] [stdout]    --> src/preprocess.rs:121:40
[INFO] [stdout]     |
[INFO] [stdout] 121 |                 bookir::Link::Footnote(cow_str) => panic!("Image Footnotes not allowed"),
[INFO] [stdout]     |                                        ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cow_str`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `group_kind`
[INFO] [stdout]    --> src/preprocess.rs:234:36
[INFO] [stdout]     |
[INFO] [stdout] 234 |     fn visit_group_item(&mut self, group_kind: GroupKind) -> VisitResult<Infallible> {
[INFO] [stdout]     |                                    ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_group_kind`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `group_kind`
[INFO] [stdout]    --> src/preprocess.rs:237:35
[INFO] [stdout]     |
[INFO] [stdout] 237 |     fn visit_end_group(&mut self, group_kind: GroupKind) {}
[INFO] [stdout]     |                                   ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_group_kind`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `node`
[INFO] [stdout]    --> src/preprocess.rs:239:29
[INFO] [stdout]     |
[INFO] [stdout] 239 |     fn visit_end(&mut self, node: &RichText) {}
[INFO] [stdout]     |                             ^^^^ help: if this is intentional, prefix it with an underscore: `_node`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cow_str`
[INFO] [stdout]    --> src/preprocess.rs:316:31
[INFO] [stdout]     |
[INFO] [stdout] 316 |             RichText::RawText(cow_str) => {},
[INFO] [stdout]     |                               ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cow_str`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cow_str`
[INFO] [stdout]    --> src/preprocess.rs:317:31
[INFO] [stdout]     |
[INFO] [stdout] 317 |             RichText::Comment(cow_str) => {},
[INFO] [stdout]     |                               ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cow_str`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cow_str`
[INFO] [stdout]    --> src/preprocess.rs:403:29
[INFO] [stdout]     |
[INFO] [stdout] 403 |             RichText::Macro(cow_str) => {},
[INFO] [stdout]     |                             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cow_str`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `it`
[INFO] [stdout]    --> src/config.rs:108:30
[INFO] [stdout]     |
[INFO] [stdout] 108 |             Self::SingleItem(it) => (1, Some(1)),
[INFO] [stdout]     |                              ^^ help: if this is intentional, prefix it with an underscore: `_it`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `table`
[INFO] [stdout]    --> src/bookir.rs:335:29
[INFO] [stdout]     |
[INFO] [stdout] 335 |             RichText::Table(table) => todo!(),
[INFO] [stdout]     |                             ^^^^^ help: if this is intentional, prefix it with an underscore: `_table`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a`
[INFO] [stdout]    --> src/bookir.rs:366:21
[INFO] [stdout]     |
[INFO] [stdout] 366 |                     a => {
[INFO] [stdout]     |                     ^ help: if this is intentional, prefix it with an underscore: `_a`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cow_str`
[INFO] [stdout]    --> src/bookir.rs:421:36
[INFO] [stdout]     |
[INFO] [stdout] 421 |                     Link::Footnote(cow_str) => NormalizationResult::Link,
[INFO] [stdout]     |                                    ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cow_str`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `name`
[INFO] [stdout]    --> src/bookir.rs:453:29
[INFO] [stdout]     |
[INFO] [stdout] 453 |             RichText::Macro(name) => {
[INFO] [stdout]     |                             ^^^^ help: if this is intentional, prefix it with an underscore: `_name`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cow_str`
[INFO] [stdout]    --> src/bookir.rs:740:37
[INFO] [stdout]     |
[INFO] [stdout] 740 |             Tag::FootnoteDefinition(cow_str) => todo!(),
[INFO] [stdout]     |                                     ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cow_str`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `link_type`
[INFO] [stdout]    --> src/bookir.rs:749:17
[INFO] [stdout]     |
[INFO] [stdout] 749 |                 link_type,
[INFO] [stdout]     |                 ^^^^^^^^^ help: try ignoring the field: `link_type: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `id`
[INFO] [stdout]    --> src/bookir.rs:752:17
[INFO] [stdout]     |
[INFO] [stdout] 752 |                 id,
[INFO] [stdout]     |                 ^^ help: try ignoring the field: `id: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `link_type`
[INFO] [stdout]    --> src/bookir.rs:769:17
[INFO] [stdout]     |
[INFO] [stdout] 769 |                 link_type,
[INFO] [stdout]     |                 ^^^^^^^^^ help: try ignoring the field: `link_type: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `id`
[INFO] [stdout]    --> src/bookir.rs:772:17
[INFO] [stdout]     |
[INFO] [stdout] 772 |                 id,
[INFO] [stdout]     |                 ^^ help: try ignoring the field: `id: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `metadata_block_kind`
[INFO] [stdout]    --> src/bookir.rs:788:32
[INFO] [stdout]     |
[INFO] [stdout] 788 |             Tag::MetadataBlock(metadata_block_kind) => unimplemented!("Metadata should not parse"),
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_metadata_block_kind`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/renderer.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 20 |     mut options: bookir::RichTextOptions,
[INFO] [stdout]    |     ----^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/renderer.rs:47:9
[INFO] [stdout]    |
[INFO] [stdout] 47 |     let mut extra_files = helpers::read_dir_recursive(&src)?
[INFO] [stdout]    |         ----^^^^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `r`
[INFO] [stdout]    --> src/renderer.rs:109:60
[INFO] [stdout]     |
[INFO] [stdout] 109 | ...                   .map_or(&**title, |(l, r)| l)
[INFO] [stdout]     |                                              ^ help: if this is intentional, prefix it with an underscore: `_r`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `it`
[INFO] [stdout]   --> src/renderer.rs:98:25
[INFO] [stdout]    |
[INFO] [stdout] 98 |                         it @ BookItem::PartTitle(title) => {
[INFO] [stdout]    |                         ^^ help: if this is intentional, prefix it with an underscore: `_it`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/config.rs:25:17
[INFO] [stdout]    |
[INFO] [stdout] 25 |     pub fn iter(&self) -> Iter<T> {
[INFO] [stdout]    |                 ^^^^^     ^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 25 |     pub fn iter(&self) -> Iter<'_, T> {
[INFO] [stdout]    |                                +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/config.rs:36:21
[INFO] [stdout]    |
[INFO] [stdout] 36 |     pub fn iter_mut(&mut self) -> IterMut<T> {
[INFO] [stdout]    |                     ^^^^^^^^^     ^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 36 |     pub fn iter_mut(&mut self) -> IterMut<'_, T> {
[INFO] [stdout]    |                                           +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Output` and `helpers`
[INFO] [stdout]  --> src/bin/mdbook-bookir.rs:3:83
[INFO] [stdout]   |
[INFO] [stdout] 3 |     bookir::RichTextOptions, config::BasicConfig, renderer::gen_collected_output, helpers, Output,
[INFO] [stdout]   |                                                                                   ^^^^^^^  ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde_json::Error`
[INFO] [stdout]  --> src/bin/mdbook-bookir.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use serde_json::Error;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `uuid::Uuid`
[INFO] [stdout]  --> src/bin/mdbook-bookir.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use uuid::Uuid;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::Write`
[INFO] [stdout]   --> src/bin/mdbook-bookir.rs:22:17
[INFO] [stdout]    |
[INFO] [stdout] 22 |             use std::io::Write;
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `src`
[INFO] [stdout]   --> src/bin/mdbook-bookir.rs:21:16
[INFO] [stdout]    |
[INFO] [stdout] 21 |         |path, src, book, config, output| {
[INFO] [stdout]    |                ^^^ help: if this is intentional, prefix it with an underscore: `_src`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `config`
[INFO] [stdout]   --> src/bin/mdbook-bookir.rs:21:27
[INFO] [stdout]    |
[INFO] [stdout] 21 |         |path, src, book, config, output| {
[INFO] [stdout]    |                           ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `output`
[INFO] [stdout]   --> src/bin/mdbook-bookir.rs:21:35
[INFO] [stdout]    |
[INFO] [stdout] 21 |         |path, src, book, config, output| {
[INFO] [stdout]    |                                   ^^^^^^ help: if this is intentional, prefix it with an underscore: `_output`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling mdbook-fiction-tools v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `Output` and `helpers`
[INFO] [stdout]  --> src/bin/mdbook-bookir.rs:3:83
[INFO] [stdout]   |
[INFO] [stdout] 3 |     bookir::RichTextOptions, config::BasicConfig, renderer::gen_collected_output, helpers, Output,
[INFO] [stdout]   |                                                                                   ^^^^^^^  ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde_json::Error`
[INFO] [stdout]  --> src/bin/mdbook-bookir.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use serde_json::Error;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `uuid::Uuid`
[INFO] [stdout]  --> src/bin/mdbook-bookir.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use uuid::Uuid;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::Write`
[INFO] [stdout]   --> src/bin/mdbook-bookir.rs:22:17
[INFO] [stdout]    |
[INFO] [stdout] 22 |             use std::io::Write;
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `src`
[INFO] [stdout]   --> src/bin/mdbook-bookir.rs:21:16
[INFO] [stdout]    |
[INFO] [stdout] 21 |         |path, src, book, config, output| {
[INFO] [stdout]    |                ^^^ help: if this is intentional, prefix it with an underscore: `_src`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `config`
[INFO] [stdout]   --> src/bin/mdbook-bookir.rs:21:27
[INFO] [stdout]    |
[INFO] [stdout] 21 |         |path, src, book, config, output| {
[INFO] [stdout]    |                           ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `output`
[INFO] [stdout]   --> src/bin/mdbook-bookir.rs:21:35
[INFO] [stdout]    |
[INFO] [stdout] 21 |         |path, src, book, config, output| {
[INFO] [stdout]    |                                   ^^^^^^ help: if this is intentional, prefix it with an underscore: `_output`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `math`
[INFO] [stdout]    --> src/config.rs:210:11
[INFO] [stdout]     |
[INFO] [stdout] 210 |     #[cfg(feature = "math")]
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected values for `feature` are: `default`, `epub`, `epub-signatures`, `pdf`, `preprocessor`, `pulldown-latex`, and `renderer`
[INFO] [stdout]     = help: consider adding `math` as a feature in `Cargo.toml`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]     = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `uuid::Uuid`
[INFO] [stdout]  --> src/config.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use uuid::Uuid;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Cursor`, `borrow::Cow`, and `self`
[INFO] [stdout]  --> src/xhtml.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 |     borrow::Cow,
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 3 |     io::{self, Cursor},
[INFO] [stdout]   |          ^^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Name` and `OwnedName`
[INFO] [stdout]  --> src/xhtml.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 |     name::{Name, OwnedName},
[INFO] [stdout]   |            ^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Alignment`, `Book`, `CowStr`, `HeadingLevel`, `Link`, and `ListStyle`
[INFO] [stdout]   --> src/xhtml.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 |     Alignment, Book, BookChapter, CowStr, HeadingLevel, InlineXhtml, Link, ListStyle, RichText,
[INFO] [stdout]    |     ^^^^^^^^^  ^^^^               ^^^^^^  ^^^^^^^^^^^^               ^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `math`
[INFO] [stdout]   --> src/bookir.rs:22:7
[INFO] [stdout]    |
[INFO] [stdout] 22 | #[cfg(feature = "math")]
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected values for `feature` are: `default`, `epub`, `epub-signatures`, `pdf`, `preprocessor`, `pulldown-latex`, and `renderer`
[INFO] [stdout]    = help: consider adding `math` as a feature in `Cargo.toml`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `math`
[INFO] [stdout]    --> src/bookir.rs:131:11
[INFO] [stdout]     |
[INFO] [stdout] 131 |     #[cfg(feature = "math")]
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected values for `feature` are: `default`, `epub`, `epub-signatures`, `pdf`, `preprocessor`, `pulldown-latex`, and `renderer`
[INFO] [stdout]     = help: consider adding `math` as a feature in `Cargo.toml`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `math`
[INFO] [stdout]    --> src/bookir.rs:133:11
[INFO] [stdout]     |
[INFO] [stdout] 133 |     #[cfg(feature = "math")]
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected values for `feature` are: `default`, `epub`, `epub-signatures`, `pdf`, `preprocessor`, `pulldown-latex`, and `renderer`
[INFO] [stdout]     = help: consider adding `math` as a feature in `Cargo.toml`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `math`
[INFO] [stdout]    --> src/bookir.rs:503:20
[INFO] [stdout]     |
[INFO] [stdout] 503 |     #[cfg_attr(not(feature = "math"), serde(skip))]
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected values for `feature` are: `default`, `epub`, `epub-signatures`, `pdf`, `preprocessor`, `pulldown-latex`, and `renderer`
[INFO] [stdout]     = help: consider adding `math` as a feature in `Cargo.toml`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Stdin` and `self`
[INFO] [stdout]  --> src/bookir.rs:1:15
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::io::{self, Stdin};
[INFO] [stdout]   |               ^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::process::Stdio`
[INFO] [stdout]  --> src/bookir.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::process::Stdio;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `num::NonZero` and `process::Command`
[INFO] [stdout]  --> src/bookir.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 |     num::NonZero,
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 8 |     process::Command,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `indexmap::IndexMap`
[INFO] [stdout]   --> src/bookir.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use indexmap::IndexMap;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `name::Name`
[INFO] [stdout]   --> src/bookir.rs:12:13
[INFO] [stdout]    |
[INFO] [stdout] 12 | use ::xml::{name::Name, reader::XmlEvent, EventReader};
[INFO] [stdout]    |             ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `BookItems`
[INFO] [stdout]   --> src/bookir.rs:13:26
[INFO] [stdout]    |
[INFO] [stdout] 13 | use mdbook_core::{book::{BookItems, BookItem}, };
[INFO] [stdout]    |                          ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `InlineStr` and `LinkType`
[INFO] [stdout]   --> src/bookir.rs:16:59
[INFO] [stdout]    |
[INFO] [stdout] 16 |     CodeBlockKind, Event, HeadingLevel as MdHeadingLevel, InlineStr, LinkType, Parser, Tag, TagEnd,
[INFO] [stdout]    |                                                           ^^^^^^^^^  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Cow`
[INFO] [stdout]  --> src/bookir/nav.rs:1:27
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::borrow::{Borrow, Cow};
[INFO] [stdout]   |                           ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::path::PathBuf`
[INFO] [stdout]  --> src/bookir/nav.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::path::PathBuf;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::thread::current`
[INFO] [stdout]  --> src/bookir/nav.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::thread::current;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Deserialize`
[INFO] [stdout]  --> src/bookir/nav.rs:6:13
[INFO] [stdout]   |
[INFO] [stdout] 6 | use serde::{Deserialize, Serialize};
[INFO] [stdout]   |             ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `xml::name::Name`
[INFO] [stdout]  --> src/bookir/nav.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use xml::name::Name;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `xml::namespace::Namespace`
[INFO] [stdout]  --> src/bookir/nav.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use xml::namespace::Namespace;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `EventWriter` and `XmlEvent`
[INFO] [stdout]  --> src/bookir/nav.rs:9:19
[INFO] [stdout]   |
[INFO] [stdout] 9 | use xml::writer::{EventWriter, XmlEvent};
[INFO] [stdout]   |                   ^^^^^^^^^^^  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Cow`
[INFO] [stdout]  --> src/bookir/str.rs:2:22
[INFO] [stdout]   |
[INFO] [stdout] 2 |     borrow::{Borrow, Cow},
[INFO] [stdout]   |                      ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `math`
[INFO] [stdout]    --> src/bookir.rs:547:19
[INFO] [stdout]     |
[INFO] [stdout] 547 |             #[cfg(feature = "math")]
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected values for `feature` are: `default`, `epub`, `epub-signatures`, `pdf`, `preprocessor`, `pulldown-latex`, and `renderer`
[INFO] [stdout]     = help: consider adding `math` as a feature in `Cargo.toml`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `math`
[INFO] [stdout]    --> src/bookir.rs:549:19
[INFO] [stdout]     |
[INFO] [stdout] 549 |             #[cfg(feature = "math")]
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected values for `feature` are: `default`, `epub`, `epub-signatures`, `pdf`, `preprocessor`, `pulldown-latex`, and `renderer`
[INFO] [stdout]     = help: consider adding `math` as a feature in `Cargo.toml`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `math`
[INFO] [stdout]    --> src/bookir.rs:551:23
[INFO] [stdout]     |
[INFO] [stdout] 551 |             #[cfg(not(feature = "math"))]
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected values for `feature` are: `default`, `epub`, `epub-signatures`, `pdf`, `preprocessor`, `pulldown-latex`, and `renderer`
[INFO] [stdout]     = help: consider adding `math` as a feature in `Cargo.toml`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `math`
[INFO] [stdout]   --> src/renderer.rs:31:11
[INFO] [stdout]    |
[INFO] [stdout] 31 |     #[cfg(feature = "math")]
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected values for `feature` are: `default`, `epub`, `epub-signatures`, `pdf`, `preprocessor`, `pulldown-latex`, and `renderer`
[INFO] [stdout]    = help: consider adding `math` as a feature in `Cargo.toml`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `text`
[INFO] [stdout]   --> src/preprocess.rs:89:17
[INFO] [stdout]    |
[INFO] [stdout] 89 |             for text in rich_texts {
[INFO] [stdout]    |                 ^^^^ help: if this is intentional, prefix it with an underscore: `_text`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cow_str`
[INFO] [stdout]    --> src/preprocess.rs:121:40
[INFO] [stdout]     |
[INFO] [stdout] 121 |                 bookir::Link::Footnote(cow_str) => panic!("Image Footnotes not allowed"),
[INFO] [stdout]     |                                        ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cow_str`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `group_kind`
[INFO] [stdout]    --> src/preprocess.rs:234:36
[INFO] [stdout]     |
[INFO] [stdout] 234 |     fn visit_group_item(&mut self, group_kind: GroupKind) -> VisitResult<Infallible> {
[INFO] [stdout]     |                                    ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_group_kind`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `group_kind`
[INFO] [stdout]    --> src/preprocess.rs:237:35
[INFO] [stdout]     |
[INFO] [stdout] 237 |     fn visit_end_group(&mut self, group_kind: GroupKind) {}
[INFO] [stdout]     |                                   ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_group_kind`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `node`
[INFO] [stdout]    --> src/preprocess.rs:239:29
[INFO] [stdout]     |
[INFO] [stdout] 239 |     fn visit_end(&mut self, node: &RichText) {}
[INFO] [stdout]     |                             ^^^^ help: if this is intentional, prefix it with an underscore: `_node`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cow_str`
[INFO] [stdout]    --> src/preprocess.rs:316:31
[INFO] [stdout]     |
[INFO] [stdout] 316 |             RichText::RawText(cow_str) => {},
[INFO] [stdout]     |                               ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cow_str`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cow_str`
[INFO] [stdout]    --> src/preprocess.rs:317:31
[INFO] [stdout]     |
[INFO] [stdout] 317 |             RichText::Comment(cow_str) => {},
[INFO] [stdout]     |                               ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cow_str`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cow_str`
[INFO] [stdout]    --> src/preprocess.rs:403:29
[INFO] [stdout]     |
[INFO] [stdout] 403 |             RichText::Macro(cow_str) => {},
[INFO] [stdout]     |                             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cow_str`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `it`
[INFO] [stdout]    --> src/config.rs:108:30
[INFO] [stdout]     |
[INFO] [stdout] 108 |             Self::SingleItem(it) => (1, Some(1)),
[INFO] [stdout]     |                              ^^ help: if this is intentional, prefix it with an underscore: `_it`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `table`
[INFO] [stdout]    --> src/bookir.rs:335:29
[INFO] [stdout]     |
[INFO] [stdout] 335 |             RichText::Table(table) => todo!(),
[INFO] [stdout]     |                             ^^^^^ help: if this is intentional, prefix it with an underscore: `_table`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a`
[INFO] [stdout]    --> src/bookir.rs:366:21
[INFO] [stdout]     |
[INFO] [stdout] 366 |                     a => {
[INFO] [stdout]     |                     ^ help: if this is intentional, prefix it with an underscore: `_a`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cow_str`
[INFO] [stdout]    --> src/bookir.rs:421:36
[INFO] [stdout]     |
[INFO] [stdout] 421 |                     Link::Footnote(cow_str) => NormalizationResult::Link,
[INFO] [stdout]     |                                    ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cow_str`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `name`
[INFO] [stdout]    --> src/bookir.rs:453:29
[INFO] [stdout]     |
[INFO] [stdout] 453 |             RichText::Macro(name) => {
[INFO] [stdout]     |                             ^^^^ help: if this is intentional, prefix it with an underscore: `_name`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cow_str`
[INFO] [stdout]    --> src/bookir.rs:740:37
[INFO] [stdout]     |
[INFO] [stdout] 740 |             Tag::FootnoteDefinition(cow_str) => todo!(),
[INFO] [stdout]     |                                     ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cow_str`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `link_type`
[INFO] [stdout]    --> src/bookir.rs:749:17
[INFO] [stdout]     |
[INFO] [stdout] 749 |                 link_type,
[INFO] [stdout]     |                 ^^^^^^^^^ help: try ignoring the field: `link_type: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `id`
[INFO] [stdout]    --> src/bookir.rs:752:17
[INFO] [stdout]     |
[INFO] [stdout] 752 |                 id,
[INFO] [stdout]     |                 ^^ help: try ignoring the field: `id: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `link_type`
[INFO] [stdout]    --> src/bookir.rs:769:17
[INFO] [stdout]     |
[INFO] [stdout] 769 |                 link_type,
[INFO] [stdout]     |                 ^^^^^^^^^ help: try ignoring the field: `link_type: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `id`
[INFO] [stdout]    --> src/bookir.rs:772:17
[INFO] [stdout]     |
[INFO] [stdout] 772 |                 id,
[INFO] [stdout]     |                 ^^ help: try ignoring the field: `id: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `metadata_block_kind`
[INFO] [stdout]    --> src/bookir.rs:788:32
[INFO] [stdout]     |
[INFO] [stdout] 788 |             Tag::MetadataBlock(metadata_block_kind) => unimplemented!("Metadata should not parse"),
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_metadata_block_kind`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/renderer.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 20 |     mut options: bookir::RichTextOptions,
[INFO] [stdout]    |     ----^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/renderer.rs:47:9
[INFO] [stdout]    |
[INFO] [stdout] 47 |     let mut extra_files = helpers::read_dir_recursive(&src)?
[INFO] [stdout]    |         ----^^^^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `r`
[INFO] [stdout]    --> src/renderer.rs:109:60
[INFO] [stdout]     |
[INFO] [stdout] 109 | ...                   .map_or(&**title, |(l, r)| l)
[INFO] [stdout]     |                                              ^ help: if this is intentional, prefix it with an underscore: `_r`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `it`
[INFO] [stdout]   --> src/renderer.rs:98:25
[INFO] [stdout]    |
[INFO] [stdout] 98 |                         it @ BookItem::PartTitle(title) => {
[INFO] [stdout]    |                         ^^ help: if this is intentional, prefix it with an underscore: `_it`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/config.rs:25:17
[INFO] [stdout]    |
[INFO] [stdout] 25 |     pub fn iter(&self) -> Iter<T> {
[INFO] [stdout]    |                 ^^^^^     ^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 25 |     pub fn iter(&self) -> Iter<'_, T> {
[INFO] [stdout]    |                                +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/config.rs:36:21
[INFO] [stdout]    |
[INFO] [stdout] 36 |     pub fn iter_mut(&mut self) -> IterMut<T> {
[INFO] [stdout]    |                     ^^^^^^^^^     ^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 36 |     pub fn iter_mut(&mut self) -> IterMut<'_, T> {
[INFO] [stdout]    |                                           +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 1.87s
[INFO] running `Command { std: "docker" "inspect" "1097ee629fe959926b0da723c94a267c25dd3469d5bdc2eee6e718f4e55a6a70", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1097ee629fe959926b0da723c94a267c25dd3469d5bdc2eee6e718f4e55a6a70", kill_on_drop: false }`
[INFO] [stdout] 1097ee629fe959926b0da723c94a267c25dd3469d5bdc2eee6e718f4e55a6a70
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+cced03bfd61a304243a34504618ecec86c17063f" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] d5c56e497f5e4e29ce57e5b3b54ced6a643f7eab2519cc330808330ec587de96
[INFO] running `Command { std: "docker" "start" "-a" "d5c56e497f5e4e29ce57e5b3b54ced6a643f7eab2519cc330808330ec587de96", kill_on_drop: false }`
[INFO] [stderr] warning: unexpected `cfg` condition value: `math`
[INFO] [stderr]    --> src/config.rs:210:11
[INFO] [stderr]     |
[INFO] [stderr] 210 |     #[cfg(feature = "math")]
[INFO] [stderr]     |           ^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: expected values for `feature` are: `default`, `epub`, `epub-signatures`, `pdf`, `preprocessor`, `pulldown-latex`, and `renderer`
[INFO] [stderr]     = help: consider adding `math` as a feature in `Cargo.toml`
[INFO] [stderr]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stderr]     = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `uuid::Uuid`
[INFO] [stderr]  --> src/config.rs:9:5
[INFO] [stderr]   |
[INFO] [stderr] 9 | use uuid::Uuid;
[INFO] [stderr]   |     ^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `Cursor`, `borrow::Cow`, and `self`
[INFO] [stderr]  --> src/xhtml.rs:2:5
[INFO] [stderr]   |
[INFO] [stderr] 2 |     borrow::Cow,
[INFO] [stderr]   |     ^^^^^^^^^^^
[INFO] [stderr] 3 |     io::{self, Cursor},
[INFO] [stderr]   |          ^^^^  ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `Name` and `OwnedName`
[INFO] [stderr]  --> src/xhtml.rs:6:12
[INFO] [stderr]   |
[INFO] [stderr] 6 |     name::{Name, OwnedName},
[INFO] [stderr]   |            ^^^^  ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `Alignment`, `Book`, `CowStr`, `HeadingLevel`, `Link`, and `ListStyle`
[INFO] [stderr]   --> src/xhtml.rs:12:5
[INFO] [stderr]    |
[INFO] [stderr] 12 |     Alignment, Book, BookChapter, CowStr, HeadingLevel, InlineXhtml, Link, ListStyle, RichText,
[INFO] [stderr]    |     ^^^^^^^^^  ^^^^               ^^^^^^  ^^^^^^^^^^^^               ^^^^  ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unexpected `cfg` condition value: `math`
[INFO] [stderr]   --> src/bookir.rs:22:7
[INFO] [stderr]    |
[INFO] [stderr] 22 | #[cfg(feature = "math")]
[INFO] [stderr]    |       ^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: expected values for `feature` are: `default`, `epub`, `epub-signatures`, `pdf`, `preprocessor`, `pulldown-latex`, and `renderer`
[INFO] [stderr]    = help: consider adding `math` as a feature in `Cargo.toml`
[INFO] [stderr]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stderr] 
[INFO] [stderr] warning: unexpected `cfg` condition value: `math`
[INFO] [stderr]    --> src/bookir.rs:131:11
[INFO] [stderr]     |
[INFO] [stderr] 131 |     #[cfg(feature = "math")]
[INFO] [stderr]     |           ^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: expected values for `feature` are: `default`, `epub`, `epub-signatures`, `pdf`, `preprocessor`, `pulldown-latex`, and `renderer`
[INFO] [stderr]     = help: consider adding `math` as a feature in `Cargo.toml`
[INFO] [stderr]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stderr] 
[INFO] [stderr] warning: unexpected `cfg` condition value: `math`
[INFO] [stderr]    --> src/bookir.rs:133:11
[INFO] [stderr]     |
[INFO] [stderr] 133 |     #[cfg(feature = "math")]
[INFO] [stderr]     |           ^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: expected values for `feature` are: `default`, `epub`, `epub-signatures`, `pdf`, `preprocessor`, `pulldown-latex`, and `renderer`
[INFO] [stderr]     = help: consider adding `math` as a feature in `Cargo.toml`
[INFO] [stderr]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stderr] 
[INFO] [stderr] warning: unexpected `cfg` condition value: `math`
[INFO] [stderr]    --> src/bookir.rs:503:20
[INFO] [stderr]     |
[INFO] [stderr] 503 |     #[cfg_attr(not(feature = "math"), serde(skip))]
[INFO] [stderr]     |                    ^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: expected values for `feature` are: `default`, `epub`, `epub-signatures`, `pdf`, `preprocessor`, `pulldown-latex`, and `renderer`
[INFO] [stderr]     = help: consider adding `math` as a feature in `Cargo.toml`
[INFO] [stderr]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `Stdin` and `self`
[INFO] [stderr]  --> src/bookir.rs:1:15
[INFO] [stderr]   |
[INFO] [stderr] 1 | use std::io::{self, Stdin};
[INFO] [stderr]   |               ^^^^  ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::process::Stdio`
[INFO] [stderr]  --> src/bookir.rs:2:5
[INFO] [stderr]   |
[INFO] [stderr] 2 | use std::process::Stdio;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `num::NonZero` and `process::Command`
[INFO] [stderr]  --> src/bookir.rs:5:5
[INFO] [stderr]   |
[INFO] [stderr] 5 |     num::NonZero,
[INFO] [stderr]   |     ^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 8 |     process::Command,
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `indexmap::IndexMap`
[INFO] [stderr]   --> src/bookir.rs:11:5
[INFO] [stderr]    |
[INFO] [stderr] 11 | use indexmap::IndexMap;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `name::Name`
[INFO] [stderr]   --> src/bookir.rs:12:13
[INFO] [stderr]    |
[INFO] [stderr] 12 | use ::xml::{name::Name, reader::XmlEvent, EventReader};
[INFO] [stderr]    |             ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `BookItems`
[INFO] [stderr]   --> src/bookir.rs:13:26
[INFO] [stderr]    |
[INFO] [stderr] 13 | use mdbook_core::{book::{BookItems, BookItem}, };
[INFO] [stderr]    |                          ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `InlineStr` and `LinkType`
[INFO] [stderr]   --> src/bookir.rs:16:59
[INFO] [stderr]    |
[INFO] [stderr] 16 |     CodeBlockKind, Event, HeadingLevel as MdHeadingLevel, InlineStr, LinkType, Parser, Tag, TagEnd,
[INFO] [stderr]    |                                                           ^^^^^^^^^  ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `Cow`
[INFO] [stderr]  --> src/bookir/nav.rs:1:27
[INFO] [stderr]   |
[INFO] [stderr] 1 | use std::borrow::{Borrow, Cow};
[INFO] [stderr]   |                           ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::path::PathBuf`
[INFO] [stderr]  --> src/bookir/nav.rs:2:5
[INFO] [stderr]   |
[INFO] [stderr] 2 | use std::path::PathBuf;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::thread::current`
[INFO] [stderr]  --> src/bookir/nav.rs:3:5
[INFO] [stderr]   |
[INFO] [stderr] 3 | use std::thread::current;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `Deserialize`
[INFO] [stderr]  --> src/bookir/nav.rs:6:13
[INFO] [stderr]   |
[INFO] [stderr] 6 | use serde::{Deserialize, Serialize};
[INFO] [stderr]   |             ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `xml::name::Name`
[INFO] [stderr]  --> src/bookir/nav.rs:7:5
[INFO] [stderr]   |
[INFO] [stderr] 7 | use xml::name::Name;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `xml::namespace::Namespace`
[INFO] [stderr]  --> src/bookir/nav.rs:8:5
[INFO] [stderr]   |
[INFO] [stderr] 8 | use xml::namespace::Namespace;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `EventWriter` and `XmlEvent`
[INFO] [stderr]  --> src/bookir/nav.rs:9:19
[INFO] [stderr]   |
[INFO] [stderr] 9 | use xml::writer::{EventWriter, XmlEvent};
[INFO] [stderr]   |                   ^^^^^^^^^^^  ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `Cow`
[INFO] [stderr]  --> src/bookir/str.rs:2:22
[INFO] [stderr]   |
[INFO] [stderr] 2 |     borrow::{Borrow, Cow},
[INFO] [stderr]   |                      ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unexpected `cfg` condition value: `math`
[INFO] [stderr]    --> src/bookir.rs:547:19
[INFO] [stderr]     |
[INFO] [stderr] 547 |             #[cfg(feature = "math")]
[INFO] [stderr]     |                   ^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: expected values for `feature` are: `default`, `epub`, `epub-signatures`, `pdf`, `preprocessor`, `pulldown-latex`, and `renderer`
[INFO] [stderr]     = help: consider adding `math` as a feature in `Cargo.toml`
[INFO] [stderr]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stderr] 
[INFO] [stderr] warning: unexpected `cfg` condition value: `math`
[INFO] [stderr]    --> src/bookir.rs:549:19
[INFO] [stderr]     |
[INFO] [stderr] 549 |             #[cfg(feature = "math")]
[INFO] [stderr]     |                   ^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: expected values for `feature` are: `default`, `epub`, `epub-signatures`, `pdf`, `preprocessor`, `pulldown-latex`, and `renderer`
[INFO] [stderr]     = help: consider adding `math` as a feature in `Cargo.toml`
[INFO] [stderr]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stderr] 
[INFO] [stderr] warning: unexpected `cfg` condition value: `math`
[INFO] [stderr]    --> src/bookir.rs:551:23
[INFO] [stderr]     |
[INFO] [stderr] 551 |             #[cfg(not(feature = "math"))]
[INFO] [stderr]     |                       ^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: expected values for `feature` are: `default`, `epub`, `epub-signatures`, `pdf`, `preprocessor`, `pulldown-latex`, and `renderer`
[INFO] [stderr]     = help: consider adding `math` as a feature in `Cargo.toml`
[INFO] [stderr]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stderr] 
[INFO] [stderr] warning: unexpected `cfg` condition value: `math`
[INFO] [stderr]   --> src/renderer.rs:31:11
[INFO] [stderr]    |
[INFO] [stderr] 31 |     #[cfg(feature = "math")]
[INFO] [stderr]    |           ^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: expected values for `feature` are: `default`, `epub`, `epub-signatures`, `pdf`, `preprocessor`, `pulldown-latex`, and `renderer`
[INFO] [stderr]    = help: consider adding `math` as a feature in `Cargo.toml`
[INFO] [stderr]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `text`
[INFO] [stderr]   --> src/preprocess.rs:89:17
[INFO] [stderr]    |
[INFO] [stderr] 89 |             for text in rich_texts {
[INFO] [stderr]    |                 ^^^^ help: if this is intentional, prefix it with an underscore: `_text`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `cow_str`
[INFO] [stderr]    --> src/preprocess.rs:121:40
[INFO] [stderr]     |
[INFO] [stderr] 121 |                 bookir::Link::Footnote(cow_str) => panic!("Image Footnotes not allowed"),
[INFO] [stderr]     |                                        ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cow_str`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `group_kind`
[INFO] [stderr]    --> src/preprocess.rs:234:36
[INFO] [stderr]     |
[INFO] [stderr] 234 |     fn visit_group_item(&mut self, group_kind: GroupKind) -> VisitResult<Infallible> {
[INFO] [stderr]     |                                    ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_group_kind`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `group_kind`
[INFO] [stderr]    --> src/preprocess.rs:237:35
[INFO] [stderr]     |
[INFO] [stderr] 237 |     fn visit_end_group(&mut self, group_kind: GroupKind) {}
[INFO] [stderr]     |                                   ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_group_kind`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `node`
[INFO] [stderr]    --> src/preprocess.rs:239:29
[INFO] [stderr]     |
[INFO] [stderr] 239 |     fn visit_end(&mut self, node: &RichText) {}
[INFO] [stderr]     |                             ^^^^ help: if this is intentional, prefix it with an underscore: `_node`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `cow_str`
[INFO] [stderr]    --> src/preprocess.rs:316:31
[INFO] [stderr]     |
[INFO] [stderr] 316 |             RichText::RawText(cow_str) => {},
[INFO] [stderr]     |                               ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cow_str`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `cow_str`
[INFO] [stderr]    --> src/preprocess.rs:317:31
[INFO] [stderr]     |
[INFO] [stderr] 317 |             RichText::Comment(cow_str) => {},
[INFO] [stderr]     |                               ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cow_str`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `cow_str`
[INFO] [stderr]    --> src/preprocess.rs:403:29
[INFO] [stderr]     |
[INFO] [stderr] 403 |             RichText::Macro(cow_str) => {},
[INFO] [stderr]     |                             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cow_str`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `it`
[INFO] [stderr]    --> src/config.rs:108:30
[INFO] [stderr]     |
[INFO] [stderr] 108 |             Self::SingleItem(it) => (1, Some(1)),
[INFO] [stderr]     |                              ^^ help: if this is intentional, prefix it with an underscore: `_it`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `table`
[INFO] [stderr]    --> src/bookir.rs:335:29
[INFO] [stderr]     |
[INFO] [stderr] 335 |             RichText::Table(table) => todo!(),
[INFO] [stderr]     |                             ^^^^^ help: if this is intentional, prefix it with an underscore: `_table`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `a`
[INFO] [stderr]    --> src/bookir.rs:366:21
[INFO] [stderr]     |
[INFO] [stderr] 366 |                     a => {
[INFO] [stderr]     |                     ^ help: if this is intentional, prefix it with an underscore: `_a`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `cow_str`
[INFO] [stderr]    --> src/bookir.rs:421:36
[INFO] [stderr]     |
[INFO] [stderr] 421 |                     Link::Footnote(cow_str) => NormalizationResult::Link,
[INFO] [stderr]     |                                    ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cow_str`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `name`
[INFO] [stderr]    --> src/bookir.rs:453:29
[INFO] [stderr]     |
[INFO] [stderr] 453 |             RichText::Macro(name) => {
[INFO] [stderr]     |                             ^^^^ help: if this is intentional, prefix it with an underscore: `_name`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `cow_str`
[INFO] [stderr]    --> src/bookir.rs:740:37
[INFO] [stderr]     |
[INFO] [stderr] 740 |             Tag::FootnoteDefinition(cow_str) => todo!(),
[INFO] [stderr]     |                                     ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cow_str`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `link_type`
[INFO] [stderr]    --> src/bookir.rs:749:17
[INFO] [stderr]     |
[INFO] [stderr] 749 |                 link_type,
[INFO] [stderr]     |                 ^^^^^^^^^ help: try ignoring the field: `link_type: _`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `id`
[INFO] [stderr]    --> src/bookir.rs:752:17
[INFO] [stderr]     |
[INFO] [stderr] 752 |                 id,
[INFO] [stderr]     |                 ^^ help: try ignoring the field: `id: _`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `link_type`
[INFO] [stderr]    --> src/bookir.rs:769:17
[INFO] [stderr]     |
[INFO] [stderr] 769 |                 link_type,
[INFO] [stderr]     |                 ^^^^^^^^^ help: try ignoring the field: `link_type: _`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `id`
[INFO] [stderr]    --> src/bookir.rs:772:17
[INFO] [stderr]     |
[INFO] [stderr] 772 |                 id,
[INFO] [stderr]     |                 ^^ help: try ignoring the field: `id: _`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `metadata_block_kind`
[INFO] [stderr]    --> src/bookir.rs:788:32
[INFO] [stderr]     |
[INFO] [stderr] 788 |             Tag::MetadataBlock(metadata_block_kind) => unimplemented!("Metadata should not parse"),
[INFO] [stderr]     |                                ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_metadata_block_kind`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]   --> src/renderer.rs:20:5
[INFO] [stderr]    |
[INFO] [stderr] 20 |     mut options: bookir::RichTextOptions,
[INFO] [stderr]    |     ----^^^^^^^
[INFO] [stderr]    |     |
[INFO] [stderr]    |     help: remove this `mut`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]   --> src/renderer.rs:47:9
[INFO] [stderr]    |
[INFO] [stderr] 47 |     let mut extra_files = helpers::read_dir_recursive(&src)?
[INFO] [stderr]    |         ----^^^^^^^^^^^
[INFO] [stderr]    |         |
[INFO] [stderr]    |         help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `r`
[INFO] [stderr]    --> src/renderer.rs:109:60
[INFO] [stderr]     |
[INFO] [stderr] 109 | ...                   .map_or(&**title, |(l, r)| l)
[INFO] [stderr]     |                                              ^ help: if this is intentional, prefix it with an underscore: `_r`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `it`
[INFO] [stderr]   --> src/renderer.rs:98:25
[INFO] [stderr]    |
[INFO] [stderr] 98 |                         it @ BookItem::PartTitle(title) => {
[INFO] [stderr]    |                         ^^ help: if this is intentional, prefix it with an underscore: `_it`
[INFO] [stderr] 
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr]   --> src/config.rs:25:17
[INFO] [stderr]    |
[INFO] [stderr] 25 |     pub fn iter(&self) -> Iter<T> {
[INFO] [stderr]    |                 ^^^^^     ^^^^^^^ the same lifetime is hidden here
[INFO] [stderr]    |                 |
[INFO] [stderr]    |                 the lifetime is elided here
[INFO] [stderr]    |
[INFO] [stderr]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr]    |
[INFO] [stderr] 25 |     pub fn iter(&self) -> Iter<'_, T> {
[INFO] [stderr]    |                                +++
[INFO] [stderr] 
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr]   --> src/config.rs:36:21
[INFO] [stderr]    |
[INFO] [stderr] 36 |     pub fn iter_mut(&mut self) -> IterMut<T> {
[INFO] [stderr]    |                     ^^^^^^^^^     ^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stderr]    |                     |
[INFO] [stderr]    |                     the lifetime is elided here
[INFO] [stderr]    |
[INFO] [stderr]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr]    |
[INFO] [stderr] 36 |     pub fn iter_mut(&mut self) -> IterMut<'_, T> {
[INFO] [stderr]    |                                           +++
[INFO] [stderr] 
[INFO] [stderr] warning: `mdbook-fiction-tools` (lib) generated 53 warnings (run `cargo fix --lib -p mdbook-fiction-tools` to apply 44 suggestions)
[INFO] [stderr] warning: `mdbook-fiction-tools` (lib test) generated 53 warnings (53 duplicates)
[INFO] [stderr] warning: unused imports: `Output` and `helpers`
[INFO] [stderr]  --> src/bin/mdbook-bookir.rs:3:83
[INFO] [stderr]   |
[INFO] [stderr] 3 |     bookir::RichTextOptions, config::BasicConfig, renderer::gen_collected_output, helpers, Output,
[INFO] [stderr]   |                                                                                   ^^^^^^^  ^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `serde_json::Error`
[INFO] [stderr]  --> src/bin/mdbook-bookir.rs:5:5
[INFO] [stderr]   |
[INFO] [stderr] 5 | use serde_json::Error;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `uuid::Uuid`
[INFO] [stderr]  --> src/bin/mdbook-bookir.rs:7:5
[INFO] [stderr]   |
[INFO] [stderr] 7 | use uuid::Uuid;
[INFO] [stderr]   |     ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::io::Write`
[INFO] [stderr]   --> src/bin/mdbook-bookir.rs:22:17
[INFO] [stderr]    |
[INFO] [stderr] 22 |             use std::io::Write;
[INFO] [stderr]    |                 ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `src`
[INFO] [stderr]   --> src/bin/mdbook-bookir.rs:21:16
[INFO] [stderr]    |
[INFO] [stderr] 21 |         |path, src, book, config, output| {
[INFO] [stderr]    |                ^^^ help: if this is intentional, prefix it with an underscore: `_src`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `config`
[INFO] [stderr]   --> src/bin/mdbook-bookir.rs:21:27
[INFO] [stderr]    |
[INFO] [stderr] 21 |         |path, src, book, config, output| {
[INFO] [stderr]    |                           ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `output`
[INFO] [stderr]   --> src/bin/mdbook-bookir.rs:21:35
[INFO] [stderr]    |
[INFO] [stderr] 21 |         |path, src, book, config, output| {
[INFO] [stderr]    |                                   ^^^^^^ help: if this is intentional, prefix it with an underscore: `_output`
[INFO] [stderr] 
[INFO] [stderr] warning: `mdbook-fiction-tools` (bin "mdbook-bookir" test) generated 7 warnings (run `cargo fix --bin "mdbook-bookir" -p mdbook-fiction-tools --tests` to apply 7 suggestions)
[INFO] [stderr] warning: `mdbook-fiction-tools` (bin "mdbook-bookir") generated 7 warnings (7 duplicates)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.14s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/mdbook_fiction_tools-33192375a8badb3f)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/bin/mdbook-bookir.rs (/opt/rustwide/target/debug/deps/mdbook_bookir-e3305e8d097de27a)
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/bin/mdbook-macros.rs (/opt/rustwide/target/debug/deps/mdbook_macros-719c082e0f82c640)
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]      Running tests/run-mdbook-tests.rs (/opt/rustwide/target/debug/deps/run_mdbook_tests-ba22525eb51cbc5b)
[INFO] [stdout] 
[INFO] [stdout] running 2 tests
[INFO] [stdout] test run_macros_tests ... FAILED
[INFO] [stdout] test run_bookir_tests ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- run_macros_tests stdout ----
[INFO] [stdout] (macros): footnotes
[INFO] [stdout] Error: Os { code: 2, kind: NotFound, message: "No such file or directory" }
[INFO] [stdout] 
[INFO] [stdout] ---- run_bookir_tests stdout ----
[INFO] [stderr] error: test failed, to rerun pass `--test run-mdbook-tests`
[INFO] [stdout] (bookir): basic-test
[INFO] [stdout] Error: Os { code: 2, kind: NotFound, message: "No such file or directory" }
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     run_bookir_tests
[INFO] [stdout]     run_macros_tests
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "d5c56e497f5e4e29ce57e5b3b54ced6a643f7eab2519cc330808330ec587de96", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d5c56e497f5e4e29ce57e5b3b54ced6a643f7eab2519cc330808330ec587de96", kill_on_drop: false }`
[INFO] [stdout] d5c56e497f5e4e29ce57e5b3b54ced6a643f7eab2519cc330808330ec587de96
